package com.mentaleye.service;

import java.util.List;

import com.mentaleye.bean.RoleBean;
import com.mentaleye.dal.model.RoleExample;
import com.mentaleye.util.CommonPage;

public interface RoleService {

	boolean editRole(RoleBean roleBean,boolean add);
	
	boolean deleteRoleByList(Integer ids);
	
	public void queryRoleByPage(CommonPage commonPage);
	
	public List<RoleBean> queryAllRole(RoleExample roleExample);
	
	public RoleBean queryRoleByNo(Integer roleNo);
}
